次の方法で共有


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

'宣言
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

Return Value

Type: System.Boolean
true if the property exists, otherwise false.

.NET Framework Security

See Also

Reference

PropertyCollection Class

Microsoft.VisualStudio.Utilities Namespace