IComNativeDescriptorHandler.GetPropertyValue Method (Object, String, Boolean)

 

Gets the value of the property that has the specified name.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

object GetPropertyValue(
	object component,
	string propertyName,
	ref bool success
)

Parameters

component
Type: System.Object

The object to which the property belongs.

propertyName
Type: System.String

The name of the property.

success
Type: System.Boolean

A Boolean, passed by reference, that represents whether the property was retrieved.

Return Value

Type: System.Object

The value of the property that has the specified name.

System_CAPS_noteNote

This API is now obsolete. The non-obsolete alternative is ComObjectType.

.NET Framework
Available since 1.1
Return to top
Show: