DocData.IsDocDataReloadable Method
Verifies whether the document can be reloaded.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣告
Public Overridable Function IsDocDataReloadable ( _
<OutAttribute> ByRef isReloadable As Integer _
) As Integer
public virtual int IsDocDataReloadable(
out int isReloadable
)
public:
virtual int IsDocDataReloadable(
[OutAttribute] int% isReloadable
)
abstract IsDocDataReloadable :
isReloadable:int byref -> int
override IsDocDataReloadable :
isReloadable:int byref -> int
public function IsDocDataReloadable(
isReloadable : int
) : int
Parameters
- isReloadable
Type: System.Int32%
1 if the document can be reloaded; otherwise, 0. By default, this value is 1.
Return Value
Type: System.Int32
S_OK if the method succeeds; otherwise, it returns an error code.
Implements
IVsPersistDocData2.IsDocDataReloadable(Int32%)
IVsPersistDocData.IsDocDataReloadable(Int32%)
Remarks
This method implements the IVsPersistDocData2 interface.
.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.