共用方式為


CoreDesignSurfaceDomainModel Class

override reflection replacement apis

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.DomainModel
    Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel

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

Syntax

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("91d59b16-e488-4a28-8d51-59273ad5bf2e")> _
<CLSCompliantAttribute(True)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DependsOnDomainModelAttribute(GetType(CoreDomainModel))> _
Public Class CoreDesignSurfaceDomainModel _
    Inherits DomainModel
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("91d59b16-e488-4a28-8d51-59273ad5bf2e")]
[CLSCompliantAttribute(true)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DependsOnDomainModelAttribute(typeof(CoreDomainModel))]
public class CoreDesignSurfaceDomainModel : DomainModel
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"91d59b16-e488-4a28-8d51-59273ad5bf2e")]
[CLSCompliantAttribute(true)]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DependsOnDomainModelAttribute(typeof(CoreDomainModel))]
public ref class CoreDesignSurfaceDomainModel : public DomainModel
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("91d59b16-e488-4a28-8d51-59273ad5bf2e")>]
[<CLSCompliantAttribute(true)>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DependsOnDomainModelAttribute(typeof(CoreDomainModel))>]
type CoreDesignSurfaceDomainModel =  
    class
        inherit DomainModel
    end
public class CoreDesignSurfaceDomainModel extends DomainModel

The CoreDesignSurfaceDomainModel type exposes the following members.

Constructors

  Name Description
Public method CoreDesignSurfaceDomainModel Constructor.

Top

Properties

  Name Description
Public property DomainModelInfo Gets information about the domain model. (Inherited from DomainModel.)
Public property ResourceManager Gets the DomainModel's ResourceManager. If the ResourceManager does not already exist, then it is created. (Overrides DomainModel.ResourceManager.)
Public propertyStatic member SingletonResourceManager Gets the Singleton ResourceManager for this domain model.
Public property Store Gets the store which contains this instance of the domain model. (Inherited from DomainModel.)

Top

Methods

  Name Description
Public method CreateElement Creates an element of specified type. (Overrides DomainModel.CreateElement(Partition, Type, array<PropertyAssignment[]).)
Public method CreateElementLink Creates an element link of specified type. (Overrides DomainModel.CreateElementLink(Partition, Type, array<RoleAssignment[], array<PropertyAssignment[]).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
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 GetClosureFilter Returns an IElementVisitorFilter that corresponds to the ClosureType. (Overrides DomainModel.GetClosureFilter(ClosureType, ICollection<ModelElement>).)
Public method GetClosureVisitor Returns an IElementVisitor that corresponds to the particular closure type. (Inherited from DomainModel.)
Protected method GetCustomDomainModelTypes Virtual method that returns the collection of all types of DomainModel objects in this domainModel (Overrides DomainModel.GetCustomDomainModelTypes().)
Protected method GetCustomDomainProperties Gets the non-generated domain properties. (Inherited from DomainModel.)
Protected method GetCustomDomainRoles Gets the non-generated domain roles. (Inherited from DomainModel.)
Protected method GetGeneratedDomainModelTypes Gets the list of generated domain model types (classes, rules, relationships). (Overrides DomainModel.GetGeneratedDomainModelTypes().)
Protected method GetGeneratedDomainProperties Gets the list of generated domain properties. (Overrides DomainModel.GetGeneratedDomainProperties().)
Protected method GetGeneratedDomainRoles Gets the list of generated domain roles. (Overrides DomainModel.GetGeneratedDomainRoles().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
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 method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member DomainModelId CoreDesignSurfaceDomainModel domain model Id.
Public fieldStatic member ResourceBaseName The base name of this model's resources.

Top

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.Diagrams Namespace