共用方式為


VCCodeProperty.IsShared Property

Sets or gets whether the IsShared flag is set on a property.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'宣告
Property IsShared As Boolean
    Get
    Set
bool IsShared { get; set; }
property bool IsShared {
    bool get ();
    void set (bool value);
}
abstract IsShared : bool with get, set
function get IsShared () : boolean
function set IsShared (value : boolean)

Property Value

Type: System.Boolean
Returns true if the property is shared.

.NET Framework Security

See Also

Reference

VCCodeProperty Interface

Microsoft.VisualStudio.VCCodeModel Namespace