共用方式為


Moniker.Location Property

Even though a Moniker is a concept in the model that doesn't tie to a physical location in serialized format, it is usually used in serialization/deserialization. The location of the moniker in the serialized format can greatly help analyze problems with unresolved monikers, so we store the location of where the moniker is stored in serialized format. The location is optional, and can be null if not available (e.g. Moniker created in memory).

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public Property Location As String
    Get
    Set
public string Location { get; set; }
public:
property String^ Location {
    String^ get ();
    void set (String^ value);
}
member Location : string with get, set
function get Location () : String
function set Location (value : String)

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

Moniker Class

Microsoft.VisualStudio.Modeling Namespace