TrustLevel.Name Property
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.
Gets or sets a named security level that is mapped to a policy file.
public:
property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("name", DefaultValue="Full", IsKey=true, IsRequired=true)]
[System.Configuration.StringValidator(MinLength=1)]
public string Name { get; set; }
[<System.Configuration.ConfigurationProperty("name", DefaultValue="Full", IsKey=true, IsRequired=true)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.Name : string with get, set
Public Property Name As String
Property Value
The Name that is mapped to a policy file.
- Attributes
Examples
The following code example demonstrates how to use the Name property. This code example is part of a larger example provided for the TrustLevel class.
// Get the Name of the TrustLevel object.
Console.WriteLine("Name: {0}", TrustLevel1.Name);
' Get the Name of the TrustLevel object.
Console.WriteLine("Name: {0}", TrustLevel1.Name)
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.