ContractPublicPropertyNameAttribute(String) Constructor    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.ContractPublicPropertyNameAttributePublic Sub New (name As String)Parameters
- name
- String
The property name to apply to the field.