PropertyCollection::GetProperty Method (Object^)

 

Gets the property associated with the specified key.

Namespace:   Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)

public:
Object^ GetProperty(
	Object^ key
)

Parameters

key
Type: System::Object^

The key.

Return Value

Type: System::Object^

The property value, or null if the property is not set.

Exception Condition
ArgumentNullException

key is null.

KeyNotFoundException

key does not exist in the property collection.

Return to top
Show: