MarshalUsingAttribute.CountElementName Property

Definition

Gets or sets the name of the parameter that will provide the size of the collection when marshalling from unmanaged to managed, or ReturnsCountValue if the return value provides the size.

public:
 property System::String ^ CountElementName { System::String ^ get(); void set(System::String ^ value); };
public string CountElementName { get; set; }
member this.CountElementName : string with get, set
Public Property CountElementName As String

Property Value

Remarks

Cannot be provided when ConstantElementCount is set.

Applies to