Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the name of the xml serialization behavior relative to the current namespace. If the current namespace is the same as this.Namespace, then we return this.Name. If not, we return this.GetFullName()
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaration
Public Function GetRelativeName ( _
currentNamespace As String, _
includeGlobal As Boolean _
) As String
public string GetRelativeName(
string currentNamespace,
bool includeGlobal
)
public:
String^ GetRelativeName(
String^ currentNamespace,
bool includeGlobal
)
member GetRelativeName :
currentNamespace:string *
includeGlobal:bool -> string
public function GetRelativeName(
currentNamespace : String,
includeGlobal : boolean
) : String
Parameters
- currentNamespace
Type: System.String
- includeGlobal
Type: System.Boolean
whether or not to prepend 'global::' if the full name is returned
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.