ExternalFileReference.IsValidPathTypeForExternalFileReference
Description:
Checks whether a PathType enum value will be valid to use with this ExternalFileReference.
Checks whether a PathType enum value will be valid to use with this ExternalFileReference.
Remarks:
- PathType.Server is only valid for ExternalFileReferences of type ExternalFileReferenceType.RevitLink
- PathType.Content is only valid for ExternalFileReferences of type ExternalFileReferenceType.KeynoteTable, ExternalFileReferenceType.AssemblyCodeTable and ExternalFileReferenceType.Decal
public bool IsValidPathTypeForExternalFileReference(
PathType pathType
)
-
pathType
Return Value
bool
-
A value passed for an enumeration argument is not a member of that enumeration