Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Determines if a property should be made read only.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function IsPropertyReadOnly ( _
dispid As Integer, _
<OutAttribute> ByRef fReadOnly As Integer _
) As Integer
'Usage
Dim instance As IVsPerPropertyBrowsing
Dim dispid As Integer
Dim fReadOnly As Integer
Dim returnValue As Integer
returnValue = instance.IsPropertyReadOnly(dispid, _
fReadOnly)
int IsPropertyReadOnly(
int dispid,
out int fReadOnly
)
int IsPropertyReadOnly(
int dispid,
[OutAttribute] int% fReadOnly
)
abstract IsPropertyReadOnly :
dispid:int *
fReadOnly:int byref -> int
function IsPropertyReadOnly(
dispid : int,
fReadOnly : int
) : int
Parameters
- dispid
Type: System.Int32
[in] Specifies dispatch ID.
- fReadOnly
Type: System.Int32%
[out] Flag indicating read only.
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 IVsPerPropertyBrowsing::IsPropertyReadOnly(
DISPID dispid,
[out, retval]BOOL* fReadOnly
);
Determines if a property should be made read only. This only applies to properties that are writeable, but returning true for *fReadOnly will cause them to be displayed by the Properties window as read only.
.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.
See Also
Reference
IVsPerPropertyBrowsing Interface