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
    Get
    Private Set
'Usage
Dim instance As Rule
Dim value As String

value = instance.Id
public string Id { get; private set; }
public:
property String^ Id {
    String^ get ();
    private: void set (String^ value);
}
function get Id () : String
private function set Id (value : String)
member Id : string with get, private set

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