ExportAttribute.ContractName 属性

定义

获取用于导出使用此特性标记的类型或成员的协定名称。Gets the contract name that is used to export the type or member marked with this attribute.

public:
 property System::String ^ ContractName { System::String ^ get(); };
public string ContractName { get; }
member this.ContractName : string
Public ReadOnly Property ContractName As String

属性值

String

用于导出使用此特性标记的类型或成员的协定名称。The contract name that is used to export the type or member marked with this attribute. 默认值为空字符串 ("")。The default value is an empty string ("").

适用于