共用方式為


IVsPersistDocData.IsDocDataReloadable Method

Determines whether the document data can be reloaded.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
Function IsDocDataReloadable ( _
    <OutAttribute> ByRef pfReloadable As Integer _
) As Integer
'用途
Dim instance As IVsPersistDocData
Dim pfReloadable As Integer
Dim returnValue As Integer

returnValue = instance.IsDocDataReloadable(pfReloadable)
int IsDocDataReloadable(
    out int pfReloadable
)
int IsDocDataReloadable(
    [OutAttribute] int% pfReloadable
)
function IsDocDataReloadable(
    pfReloadable : int
) : int

Parameters

  • pfReloadable
    Type: System.Int32%

    [out] true if the document data can be reloaded.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsPersistDocData::IsDocDataReloadable(
   [out] BOOL *pfReloadable
);

Permissions

See Also

Reference

IVsPersistDocData Interface

IVsPersistDocData Members

Microsoft.VisualStudio.Shell.Interop Namespace