Partilhar via


vsCMPropertyKind Enum

Definition

Returns the Get/Set status for the specified property.

public enum class vsCMPropertyKind
public enum class vsCMPropertyKind
enum vsCMPropertyKind
[System.Runtime.InteropServices.Guid("E24A10BD-9A40-43A3-9DB9-AFAF05D74704")]
public enum vsCMPropertyKind
[<System.Runtime.InteropServices.Guid("E24A10BD-9A40-43A3-9DB9-AFAF05D74704")>]
type vsCMPropertyKind = 
Public Enum vsCMPropertyKind
Inheritance
vsCMPropertyKind
Attributes

Fields

Name Value Description
vsCMPropertyKindReadWrite 0

Returned if the property has both Get and Set statements.

vsCMPropertyKindReadOnly 1

Returned if the property has only a Get statement.

vsCMPropertyKindWriteOnly 2

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.

Applies to