Bewerken

Delen via


MarshalUsingAttribute.ConstantElementCount Property

Definition

If a collection is constant size, gets or sets the size of the collection when marshalling from unmanaged to managed.

public:
 property int ConstantElementCount { int get(); void set(int value); };
public int ConstantElementCount { get; set; }
member this.ConstantElementCount : int with get, set
Public Property ConstantElementCount As Integer

Property Value

Remarks

Cannot be provided when CountElementName is set.

Applies to