PropertyCollection.ContainsProperty Method
Determines whether the property collection contains a property for the specified key.
Namespace: Microsoft.VisualStudio.Utilities
Assembly: Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)
Syntax
'Declaration
Public Function ContainsProperty ( _
key As Object _
) As Boolean
public bool ContainsProperty(
Object key
)
public:
bool ContainsProperty(
Object^ key
)
member ContainsProperty :
key:Object -> bool
public function ContainsProperty(
key : Object
) : boolean
Parameters
- key
Type: System.Object
The key.
Return Value
Type: System.Boolean
true if the property exists, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.