CmsRecipientCollection.Add(CmsRecipient) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 메서드는 Add(CmsRecipient) 컬렉션에 받는 사람을 추가합니다 CmsRecipientCollection .
public:
int Add(System::Security::Cryptography::Pkcs::CmsRecipient ^ recipient);
public int Add(System.Security.Cryptography.Pkcs.CmsRecipient recipient);
member this.Add : System.Security.Cryptography.Pkcs.CmsRecipient -> int
Public Function Add (recipient As CmsRecipient) As Integer
매개 변수
- recipient
- CmsRecipient
CmsRecipient 컬렉션에 추가할 받는 사람을 나타내는 개체입니다CmsRecipientCollection.
반품
메서드가 성공하면 받는 사람이 삽입될 위치(0부터 시작)를 나타내는 값이 반환 Int32 됩니다.
메서드가 실패하면 예외가 throw됩니다.
예외
recipient은 null입니다.