'Declaration<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function Format( _ ByVal qualifiedNameCollection As UAQualifiedNameCollection, _ ByVal defaultNamespaceUriString As String _ ) As String
'UsageDim qualifiedNameCollection As UAQualifiedNameCollection Dim defaultNamespaceUriString As String Dim value As String value = UAQualifiedNameCollectionExtension.Format(qualifiedNameCollection, defaultNamespaceUriString)
[Extension()] [NotNull()] public static string Format( UAQualifiedNameCollection qualifiedNameCollection, string defaultNamespaceUriString )
[Extension()] [NotNull()] public: static String^ Format( UAQualifiedNameCollection^ qualifiedNameCollection, String^ defaultNamespaceUriString )
Parameters
- qualifiedNameCollection
- The qualified name collection.
- defaultNamespaceUriString
- The default namespace URI string. When this parameters is not a
nullreference, the formatted string will not explicitly include the namespace specifier with the target name if it is equal to the default namespace.
Return Value
The formatted simple relative path string.