Enterra.V8x1C.DOM.DocumentManager.FindByAttribute C# (CSharp) Метод

FindByAttribute() публичный Метод

НайтиПоРеквизиту (FindByAttribute)
public FindByAttribute ( string attributeName, object value ) : DocumentRef
attributeName string
value object
Результат DocumentRef
        public DocumentRef FindByAttribute(string attributeName, object value)
        {
            if (value is BaseObject)
            {
                value = (value as BaseObject).Ptr;
            }
            object ptr = InvokeV8Method("FindByAttribute", attributeName, value);
            return ptr != null ? new DocumentRef(Session, DocumentName, ptr) : null;
        }