共用方式為


NamedDomainElement.CalculateName Method

Calculates the value of Name

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

Syntax

'宣告
Protected Overridable Function CalculateName As String
protected virtual string CalculateName()
protected:
virtual String^ CalculateName()
abstract CalculateName : unit -> string 
override CalculateName : unit -> string 
protected function CalculateName() : String

Return Value

Type: System.String
The value of Name

Remarks

The base implementation just returns the storage, so that Name behaves like a regular property

.NET Framework Security

See Also

Reference

NamedDomainElement Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace