IComNativeDescriptorHandler.GetPropertyValue 方法      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定属性的值。
重载
| GetPropertyValue(Object, Int32, Boolean) | 
						 获取具有指定调度标识符的属性的值。  | 
        	
| GetPropertyValue(Object, String, Boolean) | 
						 获取具有指定名称的属性的值。  | 
        	
GetPropertyValue(Object, Int32, Boolean)
获取具有指定调度标识符的属性的值。
public:
 System::Object ^ GetPropertyValue(System::Object ^ component, int dispid, bool % success);
	public object GetPropertyValue (object component, int dispid, ref bool success);
	abstract member GetPropertyValue : obj * int * bool -> obj
	Public Function GetPropertyValue (component As Object, dispid As Integer, ByRef success As Boolean) As Object
	参数
- component
 - Object
 
属性所属的对象。
- dispid
 - Int32
 
调度标识符。
返回
具有指定调度标识符的属性的值。
注解
注意
此 API 现已过时。 未过时的替代项为 ComObjectType。
适用于
GetPropertyValue(Object, String, Boolean)
获取具有指定名称的属性的值。
public:
 System::Object ^ GetPropertyValue(System::Object ^ component, System::String ^ propertyName, bool % success);
	public object GetPropertyValue (object component, string propertyName, ref bool success);
	abstract member GetPropertyValue : obj * string * bool -> obj
	Public Function GetPropertyValue (component As Object, propertyName As String, ByRef success As Boolean) As Object
	参数
- component
 - Object
 
属性所属的对象。
- propertyName
 - String
 
属性的名称。
返回
具有指定名称的属性的值。
注解
注意
此 API 现已过时。 未过时的替代项为 ComObjectType。