Share via


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

See Also

Reference

Rule Class

Rule Members

Microsoft.Data.Schema.StaticCodeAnalysis Namespace