Syntax
Visual Basic (Declaration) |
|
<ConfigurationPropertyAttribute(Name="name",
Options=ConfigurationPropertyOptions.IsRequired Or _
ConfigurationPropertyOptions.IsKey,
IsDefaultCollection=False,
IsRequired=True,
IsKey=True)>
Public ReadOnly Property Name As String
|
Visual Basic (Usage) |
Copy Code
|
Dim instance As RetryStrategy
Dim value As String
value = instance.Name
|
C# |
|
[ConfigurationProperty(Name="name",
Options=ConfigurationPropertyOptions.IsRequired |
ConfigurationPropertyOptions.IsKey,
IsDefaultCollection=false,
IsRequired=true,
IsKey=true)]
public string Name {get;}
|
C++/CLI |
|
[ConfigurationProperty(Name="name",
Options=ConfigurationPropertyOptions.IsRequired |
ConfigurationPropertyOptions.IsKey,
IsDefaultCollection=false,
IsRequired=true,
IsKey=true)]
public:
property String^ Name {
String^ get();
}
|
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also