ModelingAdapterReference Class

Standard DSL implementation of an adapter reference.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapterReference
    Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference

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

Syntax

'Declaration
Public Class ModelingAdapterReference _
    Inherits ModelBusAdapterReference
public class ModelingAdapterReference : ModelBusAdapterReference
public ref class ModelingAdapterReference : public ModelBusAdapterReference
type ModelingAdapterReference =  
    class 
        inherit ModelBusAdapterReference 
    end
public class ModelingAdapterReference extends ModelBusAdapterReference

The ModelingAdapterReference type exposes the following members.

Constructors

  Name Description
Public method ModelingAdapterReference Constructor

Top

Properties

  Name Description
Public property AbsoluteTargetPath Absolute path of the target model file
Public property ElementId ElementId
Public property ViewId ViewId

Top

Methods

  Name Description
Public methodStatic member Deserialize Deserializes and returns a new ModelingAdapterReference
Public method Equals(Object) Compares this AdapterReferenceData to another object. (Inherited from ModelBusAdapterReference.)
Public method Equals(ModelBusAdapterReference) (Overrides ModelBusAdapterReference.Equals(ModelBusAdapterReference).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets the hash code of this Scope instance. If two Scope instances compare equal, they should give the same hash code. (Inherited from ModelBusAdapterReference.)
Protected method GetHashCodeInternal (Overrides ModelBusAdapterReference.GetHashCodeInternal().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member Serialize Serializes the supplied modeling adapter to a string format.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

Must contain a model reference. Optionally, can also contain a view and /or an element reference.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.Integration Namespace