Click or drag to resize

RemDocumentgetDocument Method (ObjectID, String)

Paperwork .Net Kütüphanesi
Doküman verisini getirir.

Namespace:  Paperwork.Connect
Assembly:  Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntax
C#
public ITypes getDocument(
	ObjectID aObjectId,
	string aTypeName
)

Parameters

aObjectId
Type: ObjectID
İstenilen dokümanın nesne numarası
aTypeName
Type: SystemString
Tip adı

Return Value

Type: ITypes
Verilen nesne numarasına göre kabinet döner.
Examples
C#
 
            public void GetDocument() 
            {
                  public void GetDocument()
                  {
                     ObjectID aObjectId = new ObjectID("FF00010000015E45");
                     string objectType  = "PW_FOLDER";
                     p.InitAssemblies();
                     ITypes fObject = p.rDocument.getDocument(aObjectId,objectType);
                     Console.WriteLine(fObject.Get("OWNER").ToString());
                     Console.ReadLine();
                    }
            }
See Also