RVTDocs.com

ExternalFileReference.IsValidPathTypeForExternalFileReference

Method
Description:
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
Parameters
Parameter Type Description
pathType PathType
Return Value
Exceptions
Exception Condition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration