Čitajte na engleskom

Dijeli putem


vsCMPropertyKind Enum

Definition

Returns the Get/Set status for the specified property.

C++/CX
public enum class 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

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022