다음을 통해 공유


MarshalUsingAttribute.ElementIndirectionDepth 속성

정의

이 마샬링 정보가 제공되는 간접 참조 수준을 가져오거나 설정합니다.

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

속성 값

설명

이 값은 네이티브 표현에서 해당 값을 가져오는 데 필요한 포인터 간접 참조 수에 해당합니다. 예를 들어 이 특성이 [][] 형식Int32의 매개 변수에 있는 경우 0이면 마샬링 정보가 관리되는 형식 Int32[][]에 적용되고, ElementIndirectionDepth 1이 []의 Int32관리되는 형식에 적용되고ElementIndirectionDepth, 2의 가 관리되는 형식에 Int32적용됨을 의미 ElementIndirectionDepth 합니다. 지정된 매개 변수 또는 반환 값에 지정된 ElementIndirectionDepth 가 있는 하나 MarshalUsingAttribute 만 제공할 수 있습니다.

적용 대상