ContractDescription.ContractType 속성

정의

계약 설명이 지정하는 계약 형식을 가져오거나 설정합니다.

public:
 property Type ^ ContractType { Type ^ get(); void set(Type ^ value); };
public Type ContractType { get; set; }
member this.ContractType : Type with get, set
Public Property ContractType As Type

속성 값

Type

계약 설명이 지정하는 계약의 Type입니다.

예제

Type contractType = cd.ContractType;
Console.WriteLine("\tContract type: {0}", contractType.ToString());
Dim contractType As Type = cd.ContractType
Console.WriteLine(Constants.vbTab & "Contract type: {0}", contractType.ToString())

설명

속성은 ContractType 직렬화할 수 없으므로 설명이 런타임에 바인딩된 경우에만 사용할 수 있습니다. 메타데이터의 일부로 가져오거나 내보낼 수 없습니다.

적용 대상