Executes the specified vault extension method.
Visual Basic |
---|
Public Function ExecuteVaultExtensionMethod( _ ByVal MethodIdentifier As String, _ ByVal Input As String _ ) As String |
// Connect to Sample Vault using M-Files Client. var mfilesClient = new ActiveXObject( "MFilesAPI.MFilesClientApplication" ); var vault = mfilesClient.BindToVault( "Sample Vault", 0, true, false ); // Get the result from the "ObjectTypeIsOK" method. var result = vault.ExtensionMethodOperations.ExecuteVaultExtensionMethod( "ObjectTypeIsOK", "3" ); if( result ) { // OK to proceed. } else { // Display an error. }
If Input = "0" or Input = "9" Then Output = True Else Output = False End If