Utilities.GetModelProperty Method

Applies To: System Center Configuration Manager 2012, System Center Configuration Manager 2012

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Namespace: Microsoft.ConfigurationManagement.ApplicationManagement
Assembly: Microsoft.ConfigurationManagement.ApplicationManagement (in Microsoft.ConfigurationManagement.ApplicationManagement.dll)

Usage

'Usage
Dim type As Type
Dim name As String
Dim declaredOnly As Boolean
Dim returnValue As PropertyInfo

returnValue = Utilities.GetModelProperty(type, name, declaredOnly)

Syntax

'Declaration
<ExtensionAttribute> _
<SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _
Public Shared Function GetModelProperty ( _
    type As Type, _
    name As String, _
    declaredOnly As Boolean _
) As PropertyInfo
[ExtensionAttribute] 
[SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 
public static PropertyInfo GetModelProperty (
    Type type,
    string name,
    bool declaredOnly
)
[ExtensionAttribute] 
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1811:AvoidUncalledPrivateCode")] 
public:
static PropertyInfo^ GetModelProperty (
    Type^ type, 
    String^ name, 
    bool declaredOnly
)
/** @attribute ExtensionAttribute() */ 
/** @attribute SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode") */ 
public static PropertyInfo GetModelProperty (
    Type type, 
    String name, 
    boolean declaredOnly
)
ExtensionAttribute 
SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode") 
public static function GetModelProperty (
    type : Type, 
    name : String, 
    declaredOnly : boolean
) : PropertyInfo

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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

Utilities Class
Utilities Members
Microsoft.ConfigurationManagement.ApplicationManagement Namespace