public void SetString(agn934xniProperties propertyId, string val) { this.SetString(propertyId, "", val); }
public void SetInt32(agn934xniProperties propertyId, int val) { this.SetInt32(propertyId, "", val); }
public void SetString(agn934xniProperties propertyId, string repeatedCapabilityOrChannel, string val) { PInvoke.TestForError(this._handle, PInvoke.SetAttributeViString(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), val)); }
public void SetBoolean(agn934xniProperties propertyId, bool val) { this.SetBoolean(propertyId, "", val); }
public void SetDouble(agn934xniProperties propertyId, double val) { this.SetDouble(propertyId, "", val); }
public string GetString(agn934xniProperties propertyId) { return this.GetString(propertyId, ""); }
public void SetBoolean(agn934xniProperties propertyId, string repeatedCapabilityOrChannel, bool val) { PInvoke.TestForError(this._handle, PInvoke.SetAttributeViBoolean(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), System.Convert.ToUInt16(val))); }
public int GetInt32(agn934xniProperties propertyId) { return this.GetInt32(propertyId, ""); }
public string GetString(agn934xniProperties propertyId, string repeatedCapabilityOrChannel) { System.Text.StringBuilder newVal = new System.Text.StringBuilder(512); int size = PInvoke.GetAttributeViString(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), 512, newVal); if ((size < 0)) { PInvoke.ThrowError(this._handle, size); } else { if ((size > 0)) { newVal.Capacity = size; PInvoke.TestForError(this._handle, PInvoke.GetAttributeViString(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), size, newVal)); } } return newVal.ToString(); }
public int GetInt32(agn934xniProperties propertyId, string repeatedCapabilityOrChannel) { int val; PInvoke.TestForError(this._handle, PInvoke.GetAttributeViInt32(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), out val)); return val; }
public double GetDouble(agn934xniProperties propertyId) { return this.GetDouble(propertyId, ""); }
public double GetDouble(agn934xniProperties propertyId, string repeatedCapabilityOrChannel) { double val; PInvoke.TestForError(this._handle, PInvoke.GetAttributeViReal64(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), out val)); return val; }
public bool GetBoolean(agn934xniProperties propertyId) { return this.GetBoolean(propertyId, ""); }
public bool GetBoolean(agn934xniProperties propertyId, string repeatedCapabilityOrChannel) { ushort val; PInvoke.TestForError(this._handle, PInvoke.GetAttributeViBoolean(this._handle, repeatedCapabilityOrChannel, ((int)(propertyId)), out val)); return System.Convert.ToBoolean(val); }