PropertyGeneratedEventArgs.ReturnType 属性

定义

获取或设置属性的类型。Gets or sets the type of the property.

public:
 property System::CodeDom::CodeTypeReference ^ ReturnType { System::CodeDom::CodeTypeReference ^ get(); void set(System::CodeDom::CodeTypeReference ^ value); };
public System.CodeDom.CodeTypeReference ReturnType { get; set; }
member this.ReturnType : System.CodeDom.CodeTypeReference with get, set
Public Property ReturnType As CodeTypeReference

属性值

CodeTypeReference

属性的类型。The type of the property.

注解

此属性返回该属性的等效公共语言运行库 (CLR) 类型。This property returns the common language runtime (CLR) equivalent type of the property. 它还可用于指定新的基类型。It can also be used to specify a new base type. 此属性仅适用于导航属性。This property applies only to navigation properties.

适用于

另请参阅