ContractPublicPropertyNameAttribute(String) ContractPublicPropertyNameAttribute(String) ContractPublicPropertyNameAttribute(String) ContractPublicPropertyNameAttribute(String) Constructor

Definition

Initializes a new instance of the ContractPublicPropertyNameAttribute class.

public:
 ContractPublicPropertyNameAttribute(System::String ^ name);
public ContractPublicPropertyNameAttribute (string name);
new System.Diagnostics.Contracts.ContractPublicPropertyNameAttribute : string -> System.Diagnostics.Contracts.ContractPublicPropertyNameAttribute
Public Sub New (name As String)

Parameters

name
String String String String

The property name to apply to the field.

Applies to