다음을 통해 공유


MarshalAsAttribute 멤버

관리 코드와 비관리 코드 간에 데이터를 마샬링하는 방법을 나타냅니다.

다음 표에서는 MarshalAsAttribute 형식에 의해 노출되는 멤버를 보여 줍니다.

Public 생성자

  이름 설명
Public method Supported by the .NET Compact Framework MarshalAsAttribute 오버로드되었습니다. MarshalAsAttribute 클래스의 새 인스턴스를 초기화합니다.

위쪽

Public 필드

  이름 설명
Public field Supported by the .NET Compact Framework ArraySubType 관리되지 않는 UnmanagedType.LPArray 또는 UnmanagedType.ByValArray의 요소 형식을 지정합니다.
Public field IidParameterIndex COM에서 사용하는 관리되지 않는 iid_is 특성의 매개 변수 인덱스를 지정합니다.
Public field Supported by the .NET Compact Framework MarshalCookie 사용자 지정 마샬러에 추가 정보를 제공합니다.
Public field Supported by the .NET Compact Framework MarshalType 사용자 지정 마샬러의 정규화된 이름을 지정합니다.
Public field Supported by the .NET Compact Framework MarshalTypeRef MarshalAsAttribute.MarshalType을 형식으로 구현합니다.
Public field Supported by the .NET Compact Framework SafeArraySubType UnmanagedType.SafeArray의 요소 형식을 나타냅니다.
Public field Supported by the .NET Compact Framework SafeArrayUserDefinedSubType UnmanagedType.SafeArray의 사용자 정의 요소 형식을 나타냅니다.
Public field Supported by the .NET Compact Framework SizeConst 가져올 고정 길이 배열의 요소 개수 또는 문자열의 문자 수(바이트 수가 아님)를 나타냅니다.
Public field Supported by the .NET Compact Framework SizeParamIndex COM에 있는 size_is와 같이 배열 요소의 수가 들어 있고 0으로 시작하는 매개 변수를 나타냅니다.

위쪽

Public 속성

  이름 설명
Public property TypeId  파생 클래스에서 구현된 경우 이 Attribute에 대한 고유 식별자를 가져옵니다.(Attribute에서 상속됨)
Public property Supported by the .NET Compact Framework Value 데이터를 마샬링할 UnmanagedType 값을 가져옵니다.

위쪽

Public 메서드

  이름 설명
Public method Supported by the .NET Compact Framework Equals  오버로드되었습니다. ( Attribute에서 상속됨)
Public method Static Supported by the .NET Compact Framework GetCustomAttribute  오버로드되었습니다. 어셈블리, 모듈, 형식 멤버 또는 메서드 매개 변수에 적용된, 지정된 형식의 사용자 지정 특성을 검색합니다. (Attribute에서 상속됨)
Public method Static Supported by the .NET Compact Framework GetCustomAttributes  오버로드되었습니다. 어셈블리, 모듈, 형식 멤버 또는 메서드 매개 변수에 적용된 사용자 지정 특성의 배열을 검색합니다. (Attribute에서 상속됨)
Public method Supported by the .NET Compact Framework GetHashCode  해당 인스턴스에 대한 해시 코드를 반환합니다. (Attribute에서 상속됨)
Public method Supported by the .NET Compact Framework GetType  현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public method IsDefaultAttribute  파생 클래스에서 재정의된 경우 이 인스턴스의 값이 파생 클래스의 기본값인지 여부를 나타냅니다. (Attribute에서 상속됨)
Public method Static Supported by the .NET Compact Framework IsDefined  오버로드되었습니다. 지정된 형식의 사용자 지정 특성이 어셈블리, 모듈, 형식 멤버 또는 메서드 매개 변수에 적용되었는지 여부를 결정합니다. (Attribute에서 상속됨)
Public method Supported by the .NET Compact Framework Match  파생 클래스에서 재정의된 경우 이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 값을 반환합니다. (Attribute에서 상속됨)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  지정한 Object 인스턴스가 동일한지 여부를 확인합니다. (Object에서 상속됨)
Public method Supported by the .NET Compact Framework ToString  현재 Object를 나타내는 String을 반환합니다. (Object에서 상속됨)

위쪽

참고 항목

참조

MarshalAsAttribute 클래스
System.Runtime.InteropServices 네임스페이스
UnmanagedType

기타 리소스

형식 라이브러리 내보내기(Tlbexp.exe)
형식 라이브러리 가져오기(Tlbimp.exe)