Breyta

Deila með


MarshalUsingAttribute.ElementIndirectionDepth Property

Definition

Gets or sets the indirection depth this marshalling info is provided for.

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

Property Value

Remarks

This value corresponds to how many pointer indirections would be required to get to the corresponding value from the native representation. For example, if this attribute is on a parameter of type Int32[][], then an ElementIndirectionDepth of 0 means that the marshalling info applies to the managed type of Int32[][], an ElementIndirectionDepth of 1 applies to the managed type of Int32[], and an ElementIndirectionDepth of 2 applies to the managed type of Int32. Only one MarshalUsingAttribute with a given ElementIndirectionDepth can be provided on a given parameter or return value.

Applies to