Namespace:
Microsoft.ConfigurationManagement.ApplicationManagement
Assembly:
Microsoft.ConfigurationManagement.ApplicationManagement (in
Microsoft.ConfigurationManagement.ApplicationManagement.dll)
Usage
Visual Basic |
Dim type As Type
Dim name As String
Dim declaredOnly As Boolean
Dim returnValue As PropertyInfo
returnValue = Utilities.GetModelProperty(type, name, declaredOnly)
|
Syntax
Visual Basic |
<ExtensionAttribute> _
<SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _
Public Shared Function GetModelProperty ( _
type As Type, _
name As String, _
declaredOnly As Boolean _
) As PropertyInfo
|
C# |
[ExtensionAttribute]
[SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
public static PropertyInfo GetModelProperty (
Type type,
string name,
bool declaredOnly
)
|
C++ |
[ExtensionAttribute]
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1811:AvoidUncalledPrivateCode")]
public:
static PropertyInfo^ GetModelProperty (
Type^ type,
String^ name,
bool declaredOnly
)
|
J# |
/** @attribute ExtensionAttribute() */
/** @attribute SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode") */
public static PropertyInfo GetModelProperty (
Type type,
String name,
boolean declaredOnly
)
|
JScript |
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