IPropertyBag2.LoadObject Method
Reads persistent properties from a property object.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub LoadObject ( _
pstrName As String, _
dwHint As UInteger, _
punkObject As Object, _
pErrLog As IErrorLog _
)
void LoadObject(
string pstrName,
uint dwHint,
Object punkObject,
IErrorLog pErrLog
)
void LoadObject(
[InAttribute] String^ pstrName,
[InAttribute] unsigned int dwHint,
[InAttribute] Object^ punkObject,
[InAttribute] IErrorLog^ pErrLog
)
abstract LoadObject :
pstrName:string *
dwHint:uint32 *
punkObject:Object *
pErrLog:IErrorLog -> unit
function LoadObject(
pstrName : String,
dwHint : uint,
punkObject : Object,
pErrLog : IErrorLog
)
Parameters
pstrName
Type: String[in] The name of the property.
dwHint
Type: UInt32[in] An integer value that was retrieved by using GetPropertyInfo. This argument is optional and must be zero, if the value is not known or used.
punkObject
Type: Object[in] The address of the object's IUnknown interface. This argument cannot be NULL.
pErrLog
Type: Microsoft.VisualStudio.OLE.Interop.IErrorLog[in] The address of an IErrorLog interface in which the property bag stores any errors that occur during the load. This argument can be NULL; in which case, the caller does not receive logging errors.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.