Compartir a través de


vsCMPropertyKind Enumeration

Returns the Get/Set status for the specified property.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
<GuidAttribute("E24A10BD-9A40-43A3-9DB9-AFAF05D74704")> _
Public Enumeration vsCMPropertyKind
[GuidAttribute("E24A10BD-9A40-43A3-9DB9-AFAF05D74704")]
public enum vsCMPropertyKind
[GuidAttribute(L"E24A10BD-9A40-43A3-9DB9-AFAF05D74704")]
public enum class vsCMPropertyKind
[<GuidAttribute("E24A10BD-9A40-43A3-9DB9-AFAF05D74704")>]
type vsCMPropertyKind
public enum vsCMPropertyKind

Members

Member name Description
vsCMPropertyKindReadOnly Returned if the property has only a Get statement.
vsCMPropertyKindReadWrite Returned if the property has both Get and Set statements.
vsCMPropertyKindWriteOnly Returned if the property has only a Set statement.

Remarks

The enumeration value returned depends upon the read/write status of the specified property. If, for example, a property has only a Get statement, then vsCMPropertyKind will return vsCMPropertyKindReadOnly. If it has only a Set statement, it will return vsCMPropertyKindWriteOnly. If it has both, it will return vsCMPropertyKindReadWrite.

See Also

Reference

EnvDTE80 Namespace