MarshalUsingAttribute.CountElementName 属性

定义

获取或设置参数的名称,该参数将在从非托管封送到托管的封送时提供集合的大小,或者 ReturnsCountValue 返回值提供该大小时提供集合的大小。

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

属性值

注解

设置 时 ConstantElementCount 无法提供 。

适用于