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: ObjectThe key.
Return Value
Type: 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.