ManagementPackType.ContainsProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether this type contains the specified property.
Overloads
ContainsProperty(Guid) |
Determines whether this type contains the specified property. |
ContainsProperty(String) |
Determines whether this type contains the specified property. |
ContainsProperty(Guid)
Determines whether this type contains the specified property.
public:
bool ContainsProperty(Guid id);
public bool ContainsProperty (Guid id);
member this.ContainsProperty : Guid -> bool
Public Function ContainsProperty (id As Guid) As Boolean
Parameters
- id
- Guid
The property ID.
Returns
Returns Boolean.
true
if this type contains the specified property; otherwise, false
.
Applies to
ContainsProperty(String)
Determines whether this type contains the specified property.
public:
bool ContainsProperty(System::String ^ name);
public bool ContainsProperty (string name);
member this.ContainsProperty : string -> bool
Public Function ContainsProperty (name As String) As Boolean
Parameters
- name
- String
The property name.
Returns
Returns Boolean.
true
if this type contains the specified property; otherwise, false
.