MarshalUsingAttribute.CountElementName 屬性

定義

取得或設定參數的名稱,這個參數會在從 Unmanaged 封送至 Managed 時提供集合的大小,或 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 無法提供 。

適用於