共用方式為


IVsPersistDocData2.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 IVsPersistDocData2
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.

Implements

IVsPersistDocData.IsDocDataReloadable(Int32%)

Remarks

COM Signature

From vsshell.idl:

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

Permissions

See Also

Reference

IVsPersistDocData2 Interface

IVsPersistDocData2 Members

Microsoft.VisualStudio.Shell.Interop Namespace