UserInteractionServices.GetFolderName Method
Returns a folder name for the specified model element type.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Overridable Function GetFolderName ( _
elementType As ModelElementClass _
) As String
public virtual string GetFolderName(
ModelElementClass elementType
)
public:
virtual String^ GetFolderName(
ModelElementClass^ elementType
)
abstract GetFolderName :
elementType:ModelElementClass -> string
override GetFolderName :
elementType:ModelElementClass -> string
public function GetFolderName(
elementType : ModelElementClass
) : String
Parameters
- elementType
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
A ModelElementClass metadata object for a ModelElement.
Return Value
Type: System.String
The name of the folder for the provided model element.
Remarks
The default implementation uses the class name of the element. For example, table elements are stored in a "table" folder, etc.
.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.