|
ExtensionGetFolder Method
|
Returns the folder object from the specified file object.
Namespace:
CADSharpTools.PDM
Assembly:
CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax public static IEdmFolder5 GetFolder(
this IEdmFile5 file
)
<ExtensionAttribute>
Public Shared Function GetFolder (
file As IEdmFile5
) As IEdmFolder5
Parameters
- file
- Type: IEdmFile5
File object.
Return Value
Type:
IEdmFolder5Folder object.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEdmFile5. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions Exception | Condition |
---|
NullReferenceException | Thrown when-
file parameter is null.
-
The specified file has no local copy.
|
See Also