다음을 통해 공유


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

‘선언
Sub LoadObject ( _
    pstrName As String, _
    dwHint As UInteger, _
    punkObject As Object, _
    pErrLog As IErrorLog _
)
‘사용 방법
Dim instance As IPropertyBag2
Dim pstrName As String
Dim dwHint As UInteger
Dim punkObject As Object
Dim pErrLog As IErrorLog

instance.LoadObject(pstrName, dwHint, _
    punkObject, pErrLog)
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

  • dwHint
    Type: System.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: System.Object
    [in] The address of the object's IUnknown interface. This argument cannot be NULL.

.NET Framework Security

See Also

Reference

IPropertyBag2 Interface

IPropertyBag2 Members

Microsoft.VisualStudio.OLE.Interop Namespace