IAccPropServer.GetPropValue(Byte, UInt32, Guid, Object, Int32) 方法

定义

IAccPropServer 所有公开成员都是组件对象模型(COM) IAccPropServer 接口的托管包装器的一部分。

public:
 void GetPropValue(System::Byte % pIDString, System::UInt32 dwIDStringLen, Guid idProp, [Runtime::InteropServices::Out] System::Object ^ % pvarValue, [Runtime::InteropServices::Out] int % pfHasProp);
public void GetPropValue(ref byte pIDString, uint dwIDStringLen, Guid idProp, out object pvarValue, out int pfHasProp);
abstract member GetPropValue : byte * uint32 * Guid * obj * int -> unit
Public Sub GetPropValue (ByRef pIDString As Byte, dwIDStringLen As UInteger, idProp As Guid, ByRef pvarValue As Object, ByRef pfHasProp As Integer)

参数

pIDString
Byte

包含标识所请求的属性的字符串。

dwIDStringLen
UInt32

指定参数指定的 pIDString 标识字符串的长度。

idProp
Guid

指定指示所需属性的 GUID。

pvarValue
Object

指定重写属性的值。 仅当为 TRUE 时 pfHasProp ,此参数才有效。 如果 pfHasProp 设置为 FALSE,服务器必须将此设置为 VT_EMPTY。

pfHasProp
Int32

指示服务器是否为请求的属性提供值。 如果服务器返回重写属性,则服务器应将其设置为 TRUE;如果未返回属性,则服务器应将其设置为 TRUE(在这种情况下,它还应设置为 pvarValue VT_EMPTY)。

注解

有关详细信息 IAccPropServer,请参阅 IAccPropServer::GetPropValue

适用于