1

次のMSDN ドキュメントは、このヘッダーを結合するときにコンパイラに有効に見えないものを示しています

[DefaultMemberAttribute("Item")] 
public abstract class ReadOnlyEnvelopeRecipientCollection : IEnumerable<EnvelopeRecipient>, IEnumerable

このプロパティ

public abstract EnvelopeRecipient [int index] { get; }

コンパイラはこのエラーをスローします

「インデクサーを含む型に DefaultMember 属性を指定できません」

ドキュメントは間違っていますか、それともこれを実装するためのより良い方法はありますか?

4

0 に答える 0