ManagementClassPropertyDescription.DisplayFormat Property

Gets or sets a replacement string format for concatenating multiple properties to build the display string.

Namespace: Microsoft.ConfigurationManagement.AdminConsole.Schema
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As ManagementClassPropertyDescription
Dim value As String

value = instance.DisplayFormat

instance.DisplayFormat = value

Syntax

'Declaration
<XmlAttributeAttribute("displayFormat")> _
Public Property DisplayFormat As String
[XmlAttributeAttribute("displayFormat")] 
public string DisplayFormat { get; set; }
[XmlAttributeAttribute(L"displayFormat")] 
public:
property String^ DisplayFormat {
    String^ get ();
    void set (String^ value);
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public String get_DisplayFormat ()

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public void set_DisplayFormat (String value)
DebuggerStepThroughAttribute 
public function get DisplayFormat () : String

DebuggerStepThroughAttribute 
public function set DisplayFormat (value : String)

Property Value

Replacement string format.

Remarks

The replacement string must be in the format "##SUB:&lt;prop1&gt;## - ##SUB:&lt;prop2&gt;##". Named values can be inserted using "##SUB:NV:&lt;namedValue&gt;##".

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ManagementClassPropertyDescription Class
ManagementClassPropertyDescription Members
Microsoft.ConfigurationManagement.AdminConsole.Schema Namespace