Rule.Id Property
Gets or sets the short ID of the rule, which is primarily used for easy reference in the user interface when horizontal screen real estate is limited.
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Property Id As String
'Usage
Dim instance As Rule
Dim value As String
value = instance.Id
instance.Id = value
public string Id { get; private set; }
public:
property String^ Id {
String^ get ();
void set (String^ value);
}
public function get Id () : String
public function set Id (value : String)
Property Value
Type: System.String
Remarks
Ideally, short IDs are unique, but they are not required to be.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.